package com.wy.customer;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2019/12/1211:55
 */

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "topic.B")
public class RoutReceiveA {
    @RabbitHandler
    public void process(String hello) {
        System.out.println("Receiver topic.B  : " + hello);
    }
}
